package cn.linstudy.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


/**
 * @Author XiaoLin
 * @Date 2021/12/22 16:40
 * @Description 黑名单列表前端封装对象
 */
@Data
public class BlackListDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据值")
    @NotBlank(message = "数据值不能为空")
    private String value;

    @ApiModelProperty(value = "类型")
    @NotBlank(message = "类型不能为空")
    private String type;

}
